vector_reverse
Syntax:
vector_reverse(vector)
Arguments:
Argument Name | Type | Description |
---|---|---|
vector | vector | vector to normalize |
Returns: (vector)
Description:
Returns the given vector with all values reversed.
This means that the following is true: vector_get_reversed([10, 10, 10]) = [-10, -10, -10]
This function should be slightly faster than multiplying your vectors by -1.